import { addColumnEllipsis } from "utils/common";

let columns = [
  {
    dataIndex: "id",
    title: "ID",
    align: 'center',
    width: 60
  },
  {
    dataIndex: "orderNo",
    title: "订单编号",
    width: 160
  },
  {
    dataIndex: "goodsName",
    title: "商品",
    width: 120
  },
  {
    dataIndex: "score",
    title: "评分",
    align: 'center',
    width: 50
  },
  {
    dataIndex: "content",
    title: "内容",
    width: 400
  },
  {
    dataIndex: "images",
    title: "图片",
    scopedSlots: { customRender: "imgs" },
    align: 'center'
  },
  {
    dataIndex: "createTime",
    title: "创建时间",
    align: 'center',
    width: 140
  },
  {
    dataIndex: "operation",
    title: "操作",
    scopedSlots: { customRender: "operation" },
    width: 60,
    align: 'center'
  }
];

columns = addColumnEllipsis(columns);
export default columns;
